package br.unip.tcc.domotic.teste;

import java.util.List;

import br.unip.tcc.domotic.bean.HomeBean;
import br.unip.tcc.domotic.exception.ModelException;
import br.unip.tcc.domotic.model.HomeModel;

public class TestModel {
	public static void main(String[] args) throws ModelException {
		
		HomeModel model = new HomeModel();
		List<HomeBean> beans = model.searchAll();
		
		for (HomeBean bean : beans){
			System.out.println(bean);
		}
		
	}
}
